package com.yangchao.ch05;

public class example_java {
    public static void main(String[] args) {
        example_java example=new example_java();
        Object ob = "aaa";
        System.out.println("Java:"+example.method(ob));  //Java is 2
    }

    int method(String arg) {
        return 1;

    }

    int method(Object arg) {

        return 2;
    }
}

